#ifndef EMAIL_DATENODE_H
#define EMAIL_DATENODE_H

#include "EmailNode.h"
#include "DateTime.h"

namespace email{

	class DateNode : public EmailNode
	{
	private:
		DateTime datetime;
	public:
		DateNode() : EmailNode("Date") {}
		DateTime &getDateTimeRef() {return datetime;}
		virtual void parse(QString str){}
		virtual QString toString(){return "";}
		virtual void toDisplayString(QXmlStreamWriter & writer){}
		virtual void toXMLString(QXmlStreamWriter & writer){}
	};

}

#endif